home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / fightfight2.swf / scripts / frame_3 / PlaceObject2_372_129 / CLIPACTIONRECORD onClipEvent(enterFrame).as < prev    next >
Encoding:
Text File  |  2006-05-08  |  486 b   |  25 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.game.playing)
  3.    {
  4.       if(guy.alive)
  5.       {
  6.          if(Key.isDown(39))
  7.          {
  8.             _X = _X + speed;
  9.             if(guy.walk)
  10.             {
  11.                tellTarget(this)
  12.                {
  13.                   gotoAndStop(1);
  14.                   _X = _X + speed;
  15.                }
  16.                tellTarget(this.guy)
  17.                {
  18.                   play();
  19.                }
  20.             }
  21.          }
  22.       }
  23.    }
  24. }
  25.